package com.qf.fmall.shopcart.vo;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import javax.validation.constraints.Positive;
import java.math.BigDecimal;

@Data
public class ShopcartListResponseVo {

    private Integer cartId;

    /**
     * 商品id
     */
    private Integer productId;

    /**
     * skuid
     */

    private String skuId;

    /**
     * 用户id
     */

    private String userId;

    /**
     * 购物车商品数量
     */
    private String cartNum;

    /**
     * 添加购物车时间
     */
    private String cartTime;

    /**
     * 添加购物车时商品价格
     */

    private BigDecimal productPrice;

    /**
     * 选择的套餐的属性
     */
//    @NotEmpty
    private String skuProps;

    /**
     * 			"productName": "咪咪小虾条",
     * 			"productImg": "mmxt_1.png",
     * 			"skuName": "咪咪虾条 单包 50g",
     * 			"originalPrice": 2,
     * 			"sellPrice": 1,
     * 			"stock": 254
     */

    private String productName;

    private String productImg;

    private String skuName;

    private Integer originalPrice;

    private Integer sellPrice;

    private Integer stock;

}
